package de.kardass.jannobatch.errorhandler;

public enum ErrorHandlerReturnCode {

	ABORT_BATCH(-1),
	CONTINUE_WITH_NEXT_ITEM(1),
	REPEAT_CURRENT_STEP(2),
	CONTINUE_WITH_NEXT_STEP(3)
	;
	
	private final Integer returnCode;
	
	ErrorHandlerReturnCode(Integer code) {
		this.returnCode = code;
	}

	public Integer getReturnCode() {
		return returnCode;
	}

}
